<template>
  <el-pagination
    background
    layout="prev, pager, next"
    v-model:currentPage="pagerInfo.pagerIndex"
    :total="pagerInfo.count">
  </el-pagination>
</template>

<script setup lang="ts">

// 获取父组件的状态
import { getListState } from './_state-data-list'

const { pagerInfo }  = getListState()  

// console.log('state\n', pagerInfo)

</script>